﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>brainCAPTCHA sample</title>
    <script src="https://www.google.com/jsapi" type="text/javascript"></script>
    <script src="bCAPTCHA.js" type="text/javascript"></script>


  </head>
  <body >
  	<table align="center">
  	  <tr>
  		<td align="left">
		    Project at <a href="http://code.google.com/p/brain-captcha/">google code: <b>brain-captcha</b></a> <br/>
		    Sample version: <b id="engine_vers">...</b><br/>
		    CAPTCHA kind:<br>
			    <input type="radio" name="radiobutton" value="radiobutton" onclick="onChangeCaptchaType(1)"/> Triple algorithm
			    <input type="radio" name="radiobutton" value="radiobutton" onclick="onChangeCaptchaType(2)"/> Blur algorithm<br>
			    <input type="radio" checked="True" name="radiobutton" value="radiobutton" onclick="onChangeCaptchaType(3)"/> Tripling algorithm
		    <br/>
		 </td>
	   </tr>
	   <tr height="20">  
	   </tr>   
	   <tr>   
		 <td  align="center">
		    <b id="bc_question"> question ?</b> <br/>
		    <input 
		    	autocomplete="off" 
		    	type="text" 
		    	size="50" 
		    	name="answer" 
		    	title="Ответ" 
		    	dir="ltr" 
		    	style="outline-color: currentColor; outline-width: medium; outline-style: none" 
		    	id="answerfield" 
		    	onkeydown="onEnter(event.keyCode)" /> <br/>
		    <input type="button" value="Submit" onclick="onEnter(13)">
		    <input type="button" value="Refresh" onclick="onUpdate(true)">
		    <input type="button" value="Debug info" id="debugswitcher" onclick="onShowDebug()" > <br/>
     	    <div id="imgcontainer" align="center" height="auto">
     	    	<canvas id="CAPTCHAimage">
     	    </div>
     	    <div id="debugoutput" align="center">
     	    </div>
		 </td>
	  </tr>
  	</table>
  </body>
</html>